package com.csn.service.impl;

import com.csn.entities.User;
import com.csn.mapper.UserMapper;
import com.csn.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class  UserServiceImpl implements IUserService {
    @Autowired(required = false)
    private UserMapper userMapper;

    public List<User> queryUser(){
        return userMapper.queryUser();
    }
}
